package com.xzr.service.impl;

import com.xzr.dao.UserDao;
import com.xzr.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @Author：jojo
 * @Date：2022/1/21 11:46
 * @Description :TODO
 */
@Transactional
@Service
public class UserServiceImpl implements UserService {


    @Autowired
    UserDao userDao;

    @Override
    public boolean updateM(String s) {
        int i = userDao.updateM(s);
        return i > 0;
    }
}
